<Joyeasy:list sql="SELECT * FROM `jhsj_category` where id=$catid" id="s">
	<div id="box" class="box">
		<div id="subbanner">
			<Joyeasy:list sql="SELECT * FROM `jhsj_category` where id=$s[parentid]" id="r">					
				<img src="{$r.image}" width="1080" height="164" />
		</div>
		
		<div id="newsmiddle" class="middle">
			<div class="middle_left">
				<div class="menubox">
					<div class="menutitle">
					  {$r.catname}<span><a href="{$r.url}">{$r.catdir}</a></span>
					</div>
					<div class="menuitem">
						<ul>
							<Joyeasy:list sql="SELECT * FROM `jhsj_category` where parentid=$r[id]" id="rs">					
								<if condition="$rs.id eq $catid">
									<li class="menuitemon"><a href="{$rs.url}">{$rs.catname}</a></li>
								<else />
									<li><a href="{$rs.url}">{$rs.catname}</a></li>
								</if>
							</Joyeasy:list>
						</ul>
					</div>
				</div>
			</div>
			
			</Joyeasy:list>
			
			<div class="con_right">
				<script>
				function timu(){
					var a=$('.menuitemon').html();
					$('.contitle_n').html(a);
				}
				$(document).ready(setTimeout("timu()",1));
				</script>
				<div class="contitle"><div class="contitle_n"></div><span>您现在的位置：<a href="./">首页</a> > <Joyeasy:catpos catid="catid" space=">" /></span></div>
				<div class="content">
					<div class="anli_shang">
						<div class="anli_shang_zuo">
						<img src="{$thumb}" width="415" height="350" />
						</div>
						<div class="anli_shang_you">
							<div class="anli_shang_you_1">
							项目名称：{$title}
							</div>
							<div class="anli_shang_you_2">
							所在地：{$diqu}
							</div>
							<div class="anli_shang_you_2">
							开发商：{$kaifashang}
							</div>
							<div class="anli_shang_you_2">
							服务内容：{$fuwu}
							</div>
							<div class="anli_shang_you_2">
							销售业绩：{$yeji}
							</div>
						</div>
						
					</div>
					<div class="clear"></div>
					<div class="anli_xia">
						<div class="anli_xia_title">
							<div class="anli_xia_title_nei">
							案例详细介绍
							</div>
						</div>
						<div class="anli_xia_content">
						{$content}
						</div>
					</div>	
									
				<div style="clear:both;"></div>
				</div>
			<div style="clear:both;"></div>	
			</div>
		<div style="clear:both;"></div>
		</div>

	</div>
</Joyeasy:list>
